package com.txc.books.service;

import com.txc.books.entity.Book;
import com.txc.books.entity.BookArea;
import com.txc.books.utils.PageRequest;
import com.txc.books.utils.PageResult;

import java.util.List;

/**
 * @author: XCTANG
 *
 */


public interface IBookAreaService {

    List<BookArea> findAll();

    void insert(BookArea bookArea);

    void update(BookArea bookArea);

    void delete(Integer id);

    void select(Integer id);

    //分页查询接口
    PageResult findByPager(PageRequest pageRequest);
}
